package com.ylfstu.Homework;

public class Homework10 {
    public static void main(String[] args) {
        Doctor doctor1 = new Doctor("cat", 26, "doctor", 'w', 10000);
        Doctor doctor2 = new Doctor("cat", 26, "doctor", 'w', 10000);
        System.out.println(doctor1.equals(doctor2));
//        System.out.println(doctor1.name);
    }
}
